
# 面向对象的私有字段
class Foo(object):
    def __init__(self):
        self.__age = 18



obj = Foo()
# 私有化字段调用:
v = obj._Foo__age
print(v)